package com.openbravo.data.loader;

public class KeyGetterBasic
  implements IKeyGetter
{
  private int[] m_aElems;

  public KeyGetterBasic(int[] paramArrayOfInt)
  {
    this.m_aElems = paramArrayOfInt;
  }

  public Object getKey(Object paramObject)
  {
    if (paramObject == null)
      return null;
    Object[] arrayOfObject1 = (Object[])(Object[])paramObject;
    Object[] arrayOfObject2 = new Object[this.m_aElems.length];
    for (int i = 0; i < this.m_aElems.length; i++)
      arrayOfObject2[i] = arrayOfObject1[this.m_aElems[i]];
    return arrayOfObject2;
  }
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.data.loader.KeyGetterBasic
 * JD-Core Version:    0.6.0
 */